home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 February
/
EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso
/
enigma
/
earcd
/
utility
/
utildisk
/
mtmbeta2.rdm
< prev
next >
Wrap
Text File
|
1997-01-18
|
2KB
|
79 lines
Short: Move files in DL to local Aminet mirror
Author: kennecni@idgOnline.no (Kenneth C. Nilsen)
Uploader: kennecni@idgOnline.no (Kenneth C. Nilsen)
Type: disk/misc
Requires: kickstart 37 or higher
MoveToMirror (BETA) 0.2 (25.11.96)
This tools can be used locally to move the files you have in your download
directory to a local Aminet mirror on your disk.
The task is simple.. it's the only one. :)
Beta test feedback reports it to work fine and it does too on my own machine,
but since I haven't tested it fully I choose to let it be beta a while until
I get feedback. You can suggest options to include (thanks to Tor Atle H.
Kleven for betatesting 0.1ß/0.2ß).
USAGE:
MoveToMirror [sourcedir] [destdir] [-v] [-r] [-d]
sourcedir - copy from this directory (file + readme)
destdir - copy to this root dir (+ type specs)
-v - verbose actions
-r - do not copy readme files to destdir
-d - delete source files after a successful copy (move)
Example:
We have two files in our download directory:
MoveToMirror.lha
MoveToMirror.readme
We set: MoveToMirror download: download:Aminet/ -v -d
The MTM will then search the .readme file and find 'type: disk/misc'. It then
tries to lock the Download:Aminet/disk/misc which it then will not find. It
then creates the directories and copies the two files into
download:Aminet/disk/misc/
The verbose output will look like this:
> MoveToMirror.readme -> disk/misc (mkdir) (mkdir) - Moving - Ok!
MTM does error checking in most cases so you will get message in verbose mode
and more fatal errors in non-verbose mode as well.
Readme files that doesn't have the type line will be left in the download
directory untouched.
NOTES:
This program is still beta software. Use it at your own risk!
This program is FREEWARE!
HISTORY:
0.2ß (25.11.96) - Rewrote algoritms for moving files, creating dirs etc.
- 0.1ß Caused a yellow alert on some machines
- Better error checking and outputing
- Seem to work fine here.
0.1ß (22.11.96) - Initial release
---
Kenneth C. Nilsen (kennecni@IDGonline.no) http://*** new comming up ***